package com.example.demo.model;

import lombok.Data;

import java.util.Date;


/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2023-03-02
 * Time: 17:34
 */

//建一个和数据表对应的实体类.
//注意:实体类的属性要和数据表的列名一样,否者会导致操作失败

@Data
public class UserInfo {
    private int id;
    private String name;
    private String password;
    private String photo;
    private Date createtime;
    private Date updatetime;
    private int state;
}
